Skip to content

Add a stable attribute in api_maturity.xml test and fix up tests#1168

Open
andy31415 wants to merge 3 commits into
project-chip:masterfrom
andy31415:fixup_test
Open

Add a stable attribute in api_maturity.xml test and fix up tests#1168
andy31415 wants to merge 3 commits into
project-chip:masterfrom
andy31415:fixup_test

Conversation

@andy31415

Copy link
Copy Markdown
Contributor

gen-tests has hardcoded indices for attribute comparisons. Adding more attributes for testing
would make tests fail.

This is a stand-alone change that adds an attribute to the maturity test cluster and fixes up the test to not
rely on ordering (or count for that matter).

This is in preparation of having maturity flags on attributes, which would require me to add more attributes to the test XML.

@andy31415 andy31415 requested a review from tecimovic October 13, 2023 15:31
@codecov-commenter

codecov-commenter commented Oct 13, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.41%. Comparing base (318db74) to head (2945056).
⚠️ Report is 319 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1168   +/-   ##
=======================================
  Coverage   65.41%   65.41%           
=======================================
  Files         171      171           
  Lines       18384    18384           
  Branches     3971     3971           
=======================================
  Hits        12025    12025           
  Misses       6359     6359           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants